/**
 * 
 */
package com.apollo;


/**
 * @author egyware
 *
 */
public abstract class Message {
	
	public abstract void dispatch(MessageHandler<? extends Message> b);
	
	
	protected static <MessageType extends Message> void dynamicDispatch(MessageHandler<MessageType> handler, MessageType self)
	{
		//TODO [egyware] I think... I will have problems
		handler.onMessage(self);				
	}
}
